package com.bulletelc.apollopre.module.web;

import com.bulletelc.apollopre.entity.WxShareBean;
import com.bulletelc.apollopre.framework.IPresenter;
import com.bulletelc.apollopre.framework.IView;

/**
 * Created by Administrator on 2018/5/7.
 */

interface WebPageContract {

    interface View extends IView {
        void onSuccessAgreement(String content);
        void onErrorAgreement(String error);
        void onFailAgreement(String fail);

        void onSuccessBargain(WxShareBean wxShareBean);
        void onErrorBargain(String error);
        void onFailBargain(String fail);

    }

    interface Presenter extends IPresenter<View> {
        void getAgreement(String api);
        void getBargain(String orderId);
    }
}
